package com.xuanwei.core.entity.vo;

import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * @Author jiangyong
 * @Description TODO
 * @Date 2019/7/19 14:12
 **/
@Data
public class CouponRecordVo {

    private Integer id;

    private String name;

    /**
     * 开始时间
     */
    private LocalDate startTime;

    /**
     * 结束时间
     */
    private LocalDate endTime;

    /**
     * 金额
     */
    private BigDecimal amount;

    /**
     * 规格0满减,1无门栏 , 2特定商品
     */
    private Integer type;

    /**
     * 满金额
     */
    private BigDecimal toAmount;

    private LocalDateTime createTime;


    private String orderNo;

    private BigDecimal preferentialAmount;

    private BigDecimal actualAmount;
}
